package stu.aistar.day03;

public class SwitchDemo {
    public static void main(String[] args) {
        int n = 3;
        int i = 1;
        switch (n){//byte short int char String enum[枚举类型]
            //包装类型Byte Short Integer Character
            case 3:
                i++;
            case 4:
                ++i;
                break;
            default:
                i++;
                break;
        }
        System.out.println("i:"+i);
    }
}
